import { Form, Input, Button, Checkbox } from 'antd';
import React, { useState, useEffect, useRef, FC } from 'react';
import styles from './index.less';
import MobileLogin from './components/mobileLogin';
import LoginLoop from './components/loginLoop';

interface LoginProps {
  dispatch?: any;
}

const Login: FC<LoginProps> = ({ dispatch }) => {
  return (
    <div className={styles.LoginForm}>
      <LoginLoop />
      <MobileLogin />
    </div>
  );
};

export default Login;
